GET api/AccountingServers?uId[0]={uId[0]}&uId[1]={uId[1]}

Get Company accounting servers information by Accounting software Uids This is mostly related to the CamAcct Application, if no element is provided it will return all

Request Information

Authentication

This method requires user authentication

URI Parameters

NameDescriptionTypeAdditional information
uId

Collection of string

None.

Body Parameters

None.

Response Information

Resource Description

ListWrapperOfCompanyAccountingServer
NameDescriptionTypeAdditional information
Total

integer

None.

Elements

Collection of CompanyAccountingServer

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "Elements": [
    {
      "ServerId": 1,
      "ServerName": "sample string 2",
      "AccountingSoftwareUid": "sample string 3"
    },
    {
      "ServerId": 1,
      "ServerName": "sample string 2",
      "AccountingSoftwareUid": "sample string 3"
    }
  ]
}

Internal Error Codes

  • 106: ResourceNotFound
    (The requested resource was not found., NotFound)
  • 100: MissingRequiredHeader
    (Invalid request format. A required HTTP header was not specified., BadRequest)
  • 118: InvalidHeaderValue
    (The value provided for one of the HTTP headers was not in the correct format., BadRequest)
  • 199: UnknownError
    (Internal server error., InternalServerError)